package com.ruoyi.storeExpend.service;

import java.util.Date;
import java.util.List;
import com.ruoyi.storeExpend.domain.StoreExpend;
import org.springframework.stereotype.Service;

/**
 * 商家消费明细Service接口
 * 
 * @author ruoyi
 * @date 2024-06-21
 */
@Service
public interface IStoreExpendService 
{
    /**
     * 查询商家消费明细
     * 
     * @param id 商家消费明细主键
     * @return 商家消费明细
     */
    public StoreExpend selectStoreExpendById(Long id);

    /**
     * 查询商家消费明细列表
     * 
     * @param storeExpend 商家消费明细
     * @return 商家消费明细集合
     */
    public List<StoreExpend> selectStoreExpendList(StoreExpend storeExpend);

    /**
     * 新增商家消费明细
     * 
     * @param storeExpend 商家消费明细
     * @return 结果
     */
    public int insertStoreExpend(StoreExpend storeExpend);

    /**
     * 修改商家消费明细
     * 
     * @param storeExpend 商家消费明细
     * @return 结果
     */
    public int updateStoreExpend(StoreExpend storeExpend);

    /**
     * 批量删除商家消费明细
     * 
     * @param ids 需要删除的商家消费明细主键集合
     * @return 结果
     */
    public int deleteStoreExpendByIds(Long[] ids);

    /**
     * 删除商家消费明细信息
     * 
     * @param id 商家消费明细主键
     * @return 结果
     */
    public int deleteStoreExpendById(Long id);

    List<StoreExpend> getStoreExpendList(StoreExpend storeExpend, Date beginCreateTime, Date endCreateTime);
}
